package creationPattern.Factory.Factory_03.factory.impl;

import creationPattern.Factory.Factory_02.service.IFreeGoods;
import creationPattern.Factory.Factory_02.service.impl.DiscountService;
import creationPattern.Factory.Factory_03.factory.FreeGoodsFactory;

/**
 * 具体工厂 - 优惠券发放接口
 */
public class DiscountFactory implements FreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        return new DiscountService();
    }
}
